export const loginRouter = {
  path: "/login",
  name: "login",
  title: "登录",
  component: () => import("@/views/server/Login")
};

export const registerRouter = {
  path: "/register",
  name: "register",
  title: "注册",
  component: () => import("@/views/server/Register")
};

export const blogRouter = {
  path: '/blog',
  name: 'blog',
  title: '布局测试一',
  component: () => import('@/views/blog/Blog')
};

// 页头顶部导航(便于书写)
export const headerRouter = [
  {
    path: '/home',
    name: 'first-content',
    title: '首页',
    icon: 'static/logo_index.png',
    component: () => import('@/views/home-page/FirstContent')
  },
  {
    path: '/outside-one',
    name: 'outside-one',
    title: '标题一',
    component: () => import('@/views/temp/OutsideOne')
  },
  {
    path: '/outside-two',
    name: 'outside-two',
    title: '标题二',
    component: () => import('@/views/temp/OutsideTwo')
  },
  {
    path: '/inner',
    name: 'inner',
    title: '两层标题',
    component: () => import('@/App'),
    children: [
      {
        path: 'inner-one',
        name: 'inner-one',
        title: '内部标题一',
        component: () => import('@/views/temp/InnerOne')
      },
      {
        path: 'inner-two',
        name: 'inner-two',
        title: '内部标题二',
        component: () => import('@/views/temp/InnerTwo')
      }
    ]
  }
]